package co.baiku.boot.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Configuration
@ConfigurationProperties(prefix = "ajavaer.security")
@ComponentScan(basePackages = {"co.baiku.boot.config", "co.baiku.boot.security"})
@EnableConfigurationProperties({JwtConfig.class})
public class SecurityConfig {
    private List<String> apiIgnorings;
    private List<String> webIgnorings;

    public List<String> getApiIgnorings() {
        return apiIgnorings;
    }

    public void setApiIgnorings(List<String> apiIgnorings) {
        this.apiIgnorings = apiIgnorings;
    }

    public List<String> getWebIgnorings() {
        return webIgnorings;
    }

    public void setWebIgnorings(List<String> webIgnorings) {
        this.webIgnorings = webIgnorings;
    }
}
